<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@page import="com.google.code.kaptcha.Constants"%>
<%
	//检查是否正确的验证码
	String k = (String) session.getAttribute(Constants.KAPTCHA_SESSION_KEY);
	String str = request.getParameter("checkcode");
	
	if(k.equals(str)) {
		out.println("true");
	} else {
		out.println("false");
	}
	out.println(k + " " + str);
 %>